<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI Nova Flow - 社区</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50">
    <div class="container mx-auto px-4 py-8">
        <h1 class="text-2xl font-bold text-indigo-700 mb-6">AI Nova 社区</h1>
        
        <!-- 社区导航栏 -->
        <div class="bg-white rounded-lg shadow mb-6">
            <div class="flex border-b border-gray-200">
                <button class="px-6 py-3 border-b-2 border-indigo-500 text-indigo-600 font-medium">讨论专区</button>
                <button class="px-6 py-3 text-gray-600 hover:text-indigo-600">模型分享</button>
                <button class="px-6 py-3 text-gray-600 hover:text-indigo-600">应用案例</button>
                <button class="px-6 py-3 text-gray-600 hover:text-indigo-600">教程文档</button>
                <button class="px-6 py-3 text-gray-600 hover:text-indigo-600">问答专区</button>
            </div>
        </div>
        
        <!-- 社区搜索和发布 -->
        <div class="flex justify-between items-center mb-6">
            <div class="relative w-1/3">
                <input type="text" placeholder="搜索讨论内容..." class="pl-10 pr-4 py-2 w-full border border-gray-300 rounded-md focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-gray-400 absolute left-3 top-2.5" viewBox="0 0 20 20" fill="currentColor">
                    <path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd" />
                </svg>
            </div>
            <button class="px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 transition-colors flex items-center">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor">
                    <path fill-rule="evenodd" d="M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z" clip-rule="evenodd" />
                </svg>
                发布新话题
            </button>
        </div>
        
        <!-- 话题列表 -->
        <div class="bg-white rounded-lg shadow overflow-hidden">
            <!-- 话题条目 1 -->
            <div class="border-b border-gray-200 p-6">
                <div class="flex items-start">
                    <div class="flex-shrink-0 mr-4">
                        <img class="h-12 w-12 rounded-full" src="https://randomuser.me/api/portraits/men/86.jpg" alt="用户头像">
                    </div>
                    <div class="flex-1 min-w-0">
                        <div class="flex items-center justify-between mb-1">
                            <h2 class="text-lg font-medium text-gray-900">
                                <a href="#" class="hover:text-indigo-600">如何有效利用大模型进行知识库检索？</a>
                            </h2>
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
                                已解决
                            </span>
                        </div>
                        <p class="text-sm text-gray-500 mb-2 line-clamp-2">
                            我正在尝试构建一个基于大语言模型的知识库检索系统，但遇到了一些问题：1. 如何优化向量检索效率？2. 如何减少幻觉问题？3. 有没有好的方法来处理长文档？希望有经验的朋友能分享一些实践经验...
                        </p>
                        <div class="flex items-center text-xs text-gray-500">
                            <span class="mr-4">张文智</span>
                            <span class="mr-4">2023-09-22</span>
                            <span class="flex items-center mr-4">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
                                </svg>
                                18
                            </span>
                            <span class="flex items-center">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
                                    <path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd" />
                                </svg>
                                356
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 话题条目 2 -->
            <div class="border-b border-gray-200 p-6">
                <div class="flex items-start">
                    <div class="flex-shrink-0 mr-4">
                        <img class="h-12 w-12 rounded-full" src="https://randomuser.me/api/portraits/women/65.jpg" alt="用户头像">
                    </div>
                    <div class="flex-1 min-w-0">
                        <div class="flex items-center justify-between mb-1">
                            <h2 class="text-lg font-medium text-gray-900">
                                <a href="#" class="hover:text-indigo-600">分享一个基于Nova Flow构建的销售助手案例</a>
                            </h2>
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800">
                                精华
                            </span>
                        </div>
                        <p class="text-sm text-gray-500 mb-2 line-clamp-2">
                            最近我们团队使用Nova Flow平台为销售部门构建了一个AI销售助手，能够快速回答产品问题、生成销售建议、分析客户需求并推荐合适的产品。在这里分享我们的实现思路和效果数据...
                        </p>
                        <div class="flex items-center text-xs text-gray-500">
                            <span class="mr-4">李雅婷</span>
                            <span class="mr-4">2023-09-20</span>
                            <span class="flex items-center mr-4">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
                                </svg>
                                32
                            </span>
                            <span class="flex items-center">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
                                    <path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd" />
                                </svg>
                                618
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 话题条目 3 -->
            <div class="border-b border-gray-200 p-6">
                <div class="flex items-start">
                    <div class="flex-shrink-0 mr-4">
                        <img class="h-12 w-12 rounded-full" src="https://randomuser.me/api/portraits/men/42.jpg" alt="用户头像">
                    </div>
                    <div class="flex-1 min-w-0">
                        <div class="flex items-center justify-between mb-1">
                            <h2 class="text-lg font-medium text-gray-900">
                                <a href="#" class="hover:text-indigo-600">【教程】工作流编排进阶技巧</a>
                            </h2>
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">
                                教程
                            </span>
                        </div>
                        <p class="text-sm text-gray-500 mb-2 line-clamp-2">
                            基于大家的反馈，我整理了一份工作流编排的进阶技巧，包括：1. 如何设计复杂的条件分支；2. 多模型协作的最佳实践；3. 性能优化建议；4. 常见错误处理方法。希望对大家有所帮助...
                        </p>
                        <div class="flex items-center text-xs text-gray-500">
                            <span class="mr-4">王大山</span>
                            <span class="mr-4">2023-09-18</span>
                            <span class="flex items-center mr-4">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
                                </svg>
                                45
                            </span>
                            <span class="flex items-center">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
                                    <path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd" />
                                </svg>
                                874
                            </span>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 话题条目 4 -->
            <div class="p-6">
                <div class="flex items-start">
                    <div class="flex-shrink-0 mr-4">
                        <img class="h-12 w-12 rounded-full" src="https://randomuser.me/api/portraits/women/33.jpg" alt="用户头像">
                    </div>
                    <div class="flex-1 min-w-0">
                        <div class="flex items-center justify-between mb-1">
                            <h2 class="text-lg font-medium text-gray-900">
                                <a href="#" class="hover:text-indigo-600">如何优化API调用成本？</a>
                            </h2>
                            <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">
                                讨论中
                            </span>
                        </div>
                        <p class="text-sm text-gray-500 mb-2 line-clamp-2">
                            随着我们的AI应用用户增加，模型API的调用费用也在迅速增长。大家有什么好的方法可以优化API调用成本吗？我们已经尝试了缓存和批量处理，但效果有限...
                        </p>
                        <div class="flex items-center text-xs text-gray-500">
                            <span class="mr-4">陈丽娜</span>
                            <span class="mr-4">2023-09-17</span>
                            <span class="flex items-center mr-4">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path fill-rule="evenodd" d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z" clip-rule="evenodd" />
                                </svg>
                                28
                            </span>
                            <span class="flex items-center">
                                <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" viewBox="0 0 20 20" fill="currentColor">
                                    <path d="M10 12a2 2 0 100-4 2 2 0 000 4z" />
                                    <path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd" />
                                </svg>
                                412
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 分页 -->
        <div class="flex items-center justify-between mt-6">
            <div class="text-sm text-gray-500">
                显示 1-4 / 共128个话题
            </div>
            <div class="flex items-center space-x-2">
                <button class="px-3 py-1 border border-gray-300 rounded-md text-gray-500 bg-white hover:bg-gray-50 disabled:opacity-50" disabled>
                    上一页
                </button>
                <button class="px-3 py-1 border border-indigo-500 rounded-md text-white bg-indigo-500 hover:bg-indigo-600">
                    1
                </button>
                <button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    2
                </button>
                <button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    3
                </button>
                <span class="px-2 text-gray-500">...</span>
                <button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    32
                </button>
                <button class="px-3 py-1 border border-gray-300 rounded-md text-gray-700 bg-white hover:bg-gray-50">
                    下一页
                </button>
            </div>
        </div>
    </div>
</body>
</html> 